package com.kerbores.echarts;

import com.kerbores.echarts.code.Roam;
import com.kerbores.echarts.style.ItemStyle;

/**
 * @author liuzh
 * @since 2016-02-28 17:05
 */
public class Geo extends Basic<Geo> implements Component {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8537193344333444484L;
	private String map;
	private Roam roam;
	private ItemStyle label;
	private ItemStyle itemStyle;

	public String map() {
		return this.map;
	}

	public Geo map(String map) {
		this.map = map;
		return this;
	}

	public Roam roam() {
		return this.roam;
	}

	public Geo roam(Roam roam) {
		this.roam = roam;
		return this;
	}

	public ItemStyle label() {
		if (this.label == null) {
			this.label = new ItemStyle();
		}
		return this.label;
	}

	public Geo label(ItemStyle label) {
		this.label = label;
		return this;
	}

	public ItemStyle itemStyle() {
		if (this.itemStyle == null) {
			this.itemStyle = new ItemStyle();
		}
		return this.itemStyle;
	}

	public Geo itemStyle(ItemStyle itemStyle) {
		this.itemStyle = itemStyle;
		return this;
	}

	public String getMap() {
		return map;
	}

	public void setMap(String map) {
		this.map = map;
	}

	public Roam getRoam() {
		return roam;
	}

	public void setRoam(Roam roam) {
		this.roam = roam;
	}

	public ItemStyle getLabel() {
		return label;
	}

	public void setLabel(ItemStyle label) {
		this.label = label;
	}

	public ItemStyle getItemStyle() {
		return itemStyle;
	}

	public void setItemStyle(ItemStyle itemStyle) {
		this.itemStyle = itemStyle;
	}
}
